package com.shanshan.system.service;

import com.shanshan.system.entity.Branch;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shanshan.system.vo.Result;
import com.shanshan.system.vo.SearchBranch;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author shanshan
 * @since 2023-01-31
 */
public interface IBranchService extends IService<Branch> {

    Result selectAll();

    Result selectAllBranch(int currentPage, int pageSize, SearchBranch searchBranch);

    Result deleteBranch(Branch branch);

    Result updateBranch(Branch branch);

    Result addBranch(Branch branch);

    Result listId(Integer id);
}
